home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / WWW / GraphicTrak / gdimage.load < prev    next >
Encoding:
Text File  |  1996-01-16  |  751 b   |  25 lines

  1. #!/usr/bin/perl
  2. # NOTE: The above may have to be changed to work with your system.
  3.  
  4. # Image Loader for GraphicTrak (tm)
  5. # Copyright (C) 1996 Jumbo Inc.
  6. # Written by Jon Conlon
  7. # modified by avs 1/2/96: call to srand; WinNT mods/comments
  8.  
  9. # Location of the Image Supplier
  10. $location = "/bin/gdimage.supply";            ### Set this appropriately! ###
  11.  
  12. # Under Windows NT, use the line below instead of the one above
  13. #$location = "/bin/gdimage.supply.bat";
  14.  
  15. srand;
  16. $rn .= int(rand(999999999));
  17.  
  18. # Uncomment the following line for Windows NT/Netscape; not necessary for NCSA httpd
  19. # (but should work anyway?)
  20. #print "Content-type: text/html\n\n"
  21.  
  22. print "<IMG SRC=\"$location\?rn=$rn\" ALT=\"\" HEIGHT=0 WIDTH=0 VSPACE=0 HSPACE=0>\n";
  23.  
  24. #eof
  25.